<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; img-src https://*; child-src 'none';" /><!-- 限制资源加载 -->
</head>
<body>
    <h1>欢迎学习electron开发！！</h1>
    <button id="btn1">点我</button>
    <br /><br />
    <hr />
    <input id="input1" type="text" placeholder="请输入文件名" />
    <button id="btn2">向磁盘写入hello.txt</button>
    <br /><br />
    <hr />
    <button id="btn3">读取磁盘中的hello.txt</button>
    <!-- 渲染进程 -->
    <script type="text/javascript" src="./render.js"></script>
</body>
</html>